class MdbException < Exception
  def initialize msg, e
    super(e)
	@mdbMsg = msg
  end
  
  def stacktrace
    stack = ""
	stack << self.to_s
	stack << "\n"
	self.backtrace.each {|pop| stack << pop + "\n"}
	return stack
  end
  
  attr_reader :mdbMsg
  
end